#ifndef NOISE_TEXTURE_HPP
#define NOISE_TEXTURE_HPP

#include "../common/noiseUntil.hpp"
#include "texture.hpp"

/*
 * @brief Simple noise texture
 */
class NoiseTexture : public Texture {
public:
  NoiseTexture( f32 scale );

  virtual vec3f value( const vec2f &uv, const vec3f &p ) const;

private:
  // blended color
  f32 scale;
  vec3f col0, col1;
  NoiseUntil noiseUntil;
};

#endif